import { ref } from 'vue'
export function userLoading(status = false) {
  const requestLoading = ref(status)
  const starLoading = () => {
    requestLoading.value = true
  }
  const stopLoading = () => {
    requestLoading.value = false
  }
  return {
    requestLoading,
    starLoading,
    stopLoading
  }
}
